package com.example.back.model;

import lombok.Data;

@Data
public class DeepSeekRequest {
    private String model;
    private String prompt;
    private Messages[] messages;
    
    public DeepSeekRequest(String prompt) {
        this.model = "deepseek-coder";
        this.messages = new Messages[]{
            new Messages("user", prompt)
        };
    }
}

@Data
class Messages {
    private String role;
    private String content;
    
    public Messages(String role, String content) {
        this.role = role;
        this.content = content;
    }
} 